package com.yanqu.road.entity.activity.youxing;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * 美女
 */
public class ShanShuiBeauty {

    /**
     * 美女
     */
    private int id;
    /**
     * 才华
     */
    private int macy;
    /**
     * 友好
     */
    private int mour;

    /**
     * 加成
     */
    private int a;

    /**
     * 皮肤
     */
    private int ic;

    /**
     * 品质
     */
    private int q;


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getA() {
        return a;
    }

    public void setA(int a) {
        this.a = a;
    }

    public int getMacy() {
        return macy;
    }

    public void setMacy(int macy) {
        this.macy = macy;
    }

    public int getMour() {
        return mour;
    }

    public void setMour(int mour) {
        this.mour = mour;
    }

    public int getIc() {
        return ic;
    }

    public void setIc(int ic) {
        this.ic = ic;
    }

    @JSONField(serialize = false)
    public int getTotal(){
        return macy + mour;
    }

    public int getQ() {
        return q;
    }

    public void setQ(int q) {
        this.q = q;
    }

    public ShanShuiBeauty copy(){
        ShanShuiBeauty beauty = new ShanShuiBeauty();
        beauty.setId(this.id);
        beauty.setIc(this.ic);
        beauty.setMour(this.mour);
        beauty.setMacy(this.macy);
        beauty.setA(this.a);
        beauty.setQ(this.q);
        return beauty;
    }
}
